<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="{$aGlobalLang.direction}" xmlns="http://www.w3.org/1999/xhtml" lang="{$aGlobalLang.languagecode}">
<head>
	<title>{Site::SiteTitle}</title>
	<base id="base" href="{$sBaseUrl}" />
{if $bRemoveBrand}
	<meta name="author" content="phpFoX" />
{/if}
	<meta name="keywords" content="{if $sPageKeywords}{$sPageKeywords} {else}{$sKeywords}{/if}" />
	<meta name="description" content="{$sDescr}" />
	<meta name="robots" content="index,follow" />
	<meta http-equiv="imagetoolbar" content="no" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="-1" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="Content-Type" content="text/html;charset={$aGlobalLang.charset}" />
	<link rel="stylesheet" type="text/css" href="{compress file='design/css/main.css' css=true}" />
	<link rel="stylesheet" type="text/css" href="{compress file="`$sStylePath`style.css" css=true theme=true}" />
{if getParam('ads_ajax')}
{literal}	<style type="text/css">
		body {cursor:default;}
		#main_body {cursor:default;}
	</style>{/literal}
{/if}
	<link rel="alternate" type="application/rss+xml" title="{language text='Mod_Site.page_title.blog'}" href="{url link="public.rss" act="blogs" rss="20"}" />
	<link rel="alternate" type="application/rss+xml" title="{language text='Mod_Site.page_title.event'}" href="{url link="public.rss" act="events" rss="20"}" />
	{$sPathTransJs}
	<script type="text/javascript" src="{compress file='design/js/overlib.js'}"></script>
	<script type="text/javascript" src="{compress file='design/js/main.js'}"></script>
{if getParam('ads_ajax')}
	<script type="text/javascript" src="{compress file='design/js/ads.js'}"></script>
{/if}
	<script type="text/javascript" src="{compress file='design/js/common.js'}"></script>
{if !$bNoValidator}
	<script type="text/javascript" src="{compress file='design/js/validator.js'}"></script>
{/if}
{if !$sExtraHeader}
	<script type="text/javascript">
	var sDisplayIds = new Array('social_bookmarks', 'mainEmoticons');
	window.onload = clicktoHideAll;
	</script>
{/if}
{if $sExtraHeader}
	{$sExtraHeader}
{/if}
{if $tiny_mce}
{if !$tinymce_popup}
{if (!getParam('use_gzip'))}
	<script type="text/javascript" src="{compress file='design/js/tinymce/tiny_mce.js' tinymce=true}"></script>
{else}
	<script type="text/javascript" src="design/js/tinymce/index.php?tiny_mce.js"></script>
{/if}
{else}
	<script type="text/javascript" src="design/tiny_mce/tiny_mce_popup.js"></script>
{/if}
{/if}
{if $scriptaculous}
	<script type="text/javascript" src="{compress file='design/js/scriptaculous/prototype.js'}"></script>
	<script type="text/javascript" src="{compress file='design/js/scriptaculous/effects.js'}"></script>
{/if}
{if $lightbox}
	<script type="text/javascript" src="{compress file='design/js/lytebox/lytebox.js' lytebox=true}"></script>
	<link rel="stylesheet" href="design/js/lytebox/lytebox.css" type="text/css" media="screen" />
{/if}
{if $tiny_mce}
	<script type="text/javascript" src="{compress file='design/js/tinymce/loader.js'}"></script>
{/if}
{if $xajax}
	{$xajax}
{/if}
{if $sExtraAjaxHeader}
	{$sExtraAjaxHeader}
{/if}
{if $sUserStyle}
	{$sUserStyle}
{/if}
{if $plugin_header}
	{$plugin_header}
{/if}
</head>